-
-
Notifications
You must be signed in to change notification settings - Fork 31
Parallel Implementation of Closeness and Harmonic Centrality #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@RohitP2005 Please mark this PR "Ready for review" after aligning the PR's contents with the PR's description. Thanks! |
Will come up with those asap |
Hey @Schefflera-Arboricola I would like a little help here |
Hi @RohitP2005, Just wanted to check in -- are you still working on this PR? If not, I’d be happy to pick it up. Let me know, thanks! |
The closeness_centrality algorithm is already being discussed and developed in PR #72 -- and this PR doesn't implement closeness centrality I think-- not sure why that's mentioned in the title |
Closing this PR due to inactivity. Please feel free to re-open and work on this @RohitP2005 if you still have the bandwidth to do so. Thanks! |
Parallel Implementation of Closeness and Harmonic Centrality
Description
This PR works on: #82
This PR includes the parallel implementation of closeness centrality and harmonic centrality from NetworkX using
joblib.Parallel
. These algorithms were chosen for their embarrassingly parallel nature, allowing efficient parallel computation. The implementation follows the existingnx-parallel
structure while ensuring compatibility with NetworkX APIs.Changes Included
joblib.Parallel
joblib.Parallel
get_chunks
parameter to allow user-defined chunkinginterface.py
to include the new functions inALGORITHMS
__init__.py
for module inclusionget_chunks
Checklist
get_chunks
parameter for chunk-based executioninterface.py
and__init__.py
get_chunks
References
This PR ensures efficient parallel execution of closeness and harmonic centrality while maintaining API integrity. 🚀